import React from 'react'
import { Route} from 'react-router-dom'
import routes from "router/mainRouter"

export default function BlankLayout() {
    return (
        <>
            {
                routes.map((item, index) => {
                    return <Route 
                        key={index} 
                        path={item.path} 
                        exact 
                        render={props =><item.component {...props} />}
                    />
                })
            }
        </>
    )
}
